package com.woniu.car.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author *********
 * @since 2021-06-21
 */
@Data
public class CommentInsertParam {


    /**
     * 订单id
     */
    @NotNull
    @Min(value = 1, message = "订单详情不能为空")
    @ApiModelProperty(value = "订单详情ID",example = "1")
    private Integer detailId;

    /**
     * 评论内容
     */
    @NotNull(message = "评论内容不能为空")
    @ApiModelProperty(value = "评论内容")
    private String commentInfo;

    /**
     * 服务评分
     */
    @NotNull(message = "服务评分不能为空")
    @ApiModelProperty(value = "服务评分",example = "0.0")
    private BigDecimal commentScore;



}
